Skip to content

Conversation

@emilio
Copy link
Contributor

@emilio emilio commented Oct 9, 2017

Using bitflags for FFI is unsound in linux32, and it causes crashes like
https://bugzilla.mozilla.org/show_bug.cgi?id=1406952.

This is pretty similar to rust-lang/rust-bindgen#439.

For this to be properly type safe we need to wait for rust-lang/rust#43036.

Hopefully that's not for too long.

Using bitflags for FFI is unsound in linux32, and it causes crashes like
https://bugzilla.mozilla.org/show_bug.cgi?id=1406952.

This is pretty similar to
rust-lang/rust-bindgen#439.

For this to be properly type safe we need to wait for
rust-lang/rust#43036.

Hopefully that's not for too long.
@emilio
Copy link
Contributor Author

emilio commented Oct 9, 2017

r? @KyleMayes

@emilio
Copy link
Contributor Author

emilio commented Oct 11, 2017

@KyleMayes ping? It'd be nice to get this in soon, if you can, in order to unblock building firefox in 32-bit devices. I can also avoid using these functions in bindgen, but that's really a last-resort solution...

@KyleMayes
Copy link
Owner

Done, sorry for the delay.

@KyleMayes KyleMayes closed this Oct 11, 2017
@emilio emilio deleted the bye-type-safety-colon-opening-paren branch October 11, 2017 23:28
@emilio
Copy link
Contributor Author

emilio commented Oct 11, 2017

no worries, thanks a lot, as always :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants